package org.sunsys.cxf.rest.example;

public enum Gender {
	MALE, FEMALE;
	
	public static Gender fromString(String gender){
		if(gender.equalsIgnoreCase("f")) {
			return FEMALE;
		}
		return MALE;
	}
	
}
